home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / encrypted_privmsg < prev    next >
Encoding:
Text File  |  2001-03-21  |  838 b   |  30 lines

  1. Synopsis:
  2.    on [<modes>]encrypted_privmsg [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the client receives a MSG encrypted with
  6.    CTCP SED.  This is how the ENCRYPT command normally works.
  7.  
  8. Parameters:
  9.    $0    nickname of message sender
  10.    $1-   message received
  11.  
  12. Examples:
  13.    To clearly distinguish encrypted MSGs from unencrypted ones:
  14.       on ^encrypted_privmsg '% $N *' {
  15.          echo *$0* V[CRYPT]V $2-
  16.       }
  17.  
  18. See Also:
  19.    encrypt(4); msg(1); on(5) encrypted_notice, msg
  20.  
  21. Restrictions:
  22.    This hook is subject to the same protocol restrictions as the MSG
  23.    hook.
  24.  
  25. Other Notes:
  26.    When used with the silent or quiet modes, this hook will suppress the
  27.    normal output for MSGs.  Care should be used, as it can also jumble
  28.    public hooks.
  29.  
  30.